FromByteArray(WriteableBitmap,Byte[],Int32) Method
Copies color information from an ARGB byte array into this WriteableBitmap.
Syntax
[Extension()] public static WriteableBitmap FromByteArray( WriteableBitmap bmp, byte[] buffer, int count )
Parameters
- bmp
- The WriteableBitmap.
- buffer
- The color buffer as byte ARGB values.
- count
- The number of bytes to copy from the buffer.
Return Value
The WriteableBitmap that was passed as parameter.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also